package parser;

import parser.VType;

public class MemoryItem {
	
	private Object value;
	private VType type;
	
	public MemoryItem(Object val)
	{
		
		if( val instanceof StringMatchSet) {
			type = VType.StringMatchSet;
		} else if (val instanceof Integer) {
			type = VType.integer;
		}
	}
	
	public VType getVType() {
		return type;
	}

	public void setVType(VType type) {
		this.type = type;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public Object getValue() {
		return value;
	}
	
	
}
